package com.magicsoft.share.bean.exchange;

import java.util.List;

/**
 * Created by lyf on 2017/12/4/004.
 */

public class SubmitOrder {

    /**
     * balance : 120
     * stockStatus : 1
     * list : [{"goodsId":11,"stock":1},{"goodsId":11,"stock":1},{"goodsId":10,"stock":1}]
     */

    private int balance;
    private int stockStatus;
    private long lockStockId;
    private List<ListBean> list;

    public int getBalance() {
        return balance;
    }

    public void setBalance(int balance) {
        this.balance = balance;
    }

    public int getStockStatus() {
        return stockStatus;
    }

    public void setStockStatus(int stockStatus) {
        this.stockStatus = stockStatus;
    }

    public List<ListBean> getList() {
        return list;
    }

    public void setList(List<ListBean> list) {
        this.list = list;
    }

    public long getLockStockId() {
        return lockStockId;
    }

    public void setLockStockId(long lockStockId) {
        this.lockStockId = lockStockId;
    }

    public static class ListBean {
        /**
         * goodsId : 11
         * stock : 1
         */

        private long goodsId;
        private int stock;

        public long getGoodsId() {
            return goodsId;
        }

        public void setGoodsId(long goodsId) {
            this.goodsId = goodsId;
        }

        public int getStock() {
            return stock;
        }

        public void setStock(int stock) {
            this.stock = stock;
        }
    }
}
